package com.cy.personer.mapper;

import com.cy.personer.bean.Combo;
import com.cy.personer.bean.Report;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ComboMapper {

    //↓↓↓↓↓↓↓↓↓↓↓↓林少艺↓↓↓↓↓↓↓↓↓↓↓↓
    //获取套餐列表
    List<Combo> getCombos(Combo combo);
    //获取套餐详情
    Combo getCombo(Combo combo);
    //假删除套餐
    int delCombo(Combo combo);
    //增加套餐
    int addCombo(Combo combo);
    //增加套餐项目
    int addComboItem(Combo combo);
    //获取套餐表序列
    int getNewComboId();
    //新增套餐使用记录
    int addComboEmploy(Combo combo);
    //↑↑↑↑↑↑↑↑↑↑↑↑↑林少艺↑↑↑↑↑↑↑↑↑↑↑

    List<Report> reportList(Integer userId);
    List<Report> allreportList(@Param("cardNumber") String cardNumber, String userName, String WorkName, String deskName);
}
